import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    redirect: '/Logo',
  },
  {
    path: '/logo',
    name: 'Logo',
    component: () => import('../views/Logo.vue'),
  },
  {
    path: '/home',
    name: 'Home',
    component: () => import('../views/Home.vue'),
  },
  {
    path: '/scene_1',
    name: 'Scene1',
    component: () => import('../views/Scene_1.vue'),
  },
  {
    path: '/scene_2',
    name: 'Scene2',
    component: () => import('../views/Scene_2.vue'),
  },
  {
    path: '/scene_3',
    name: 'Scene3',
    component: () => import('../views/Scene_3.vue'),
  },
  {
    path: '/scene_4',
    name: 'Scene4',
    component: () => import('../views/Scene_4.vue'),
  },
  {
    path: '/scene_5',
    name: 'Scene5',
    component: () => import('../views/Scene_5.vue'),
  },
  {
    path: '/count',
    name: 'Count',
    component: () => import('../views/Count.vue'),
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes,
})

export default router
